package com.briup.jz.service;


import com.briup.jz.bean.Article;
import com.briup.jz.bean.extend.ArticleExtend;
import com.briup.jz.dao.extend.ArticleExtendMapper;
import com.briup.jz.utils.CustomerException;

import java.util.List;

public interface IArticleService {

    void saveOrUpdate(Article article) throws CustomerException;

    List<Article> query(Article article);

    ArticleExtend read(long id);

    List<ArticleExtend> queryCascade(String status, String title, Long categoryId);

    Article queryArticleById(long id) throws CustomerException;

    void deleteById(long id) throws CustomerException;
}
